package com.university.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.university.dao.AdminDAO;
import com.university.service.AdminService;
import com.university.utils.Pager_utils;
import com.university.vo.Admin;

@Transactional
@Service("adminService")
public class AdminServiceImpl implements AdminService {

	@Resource
	private AdminDAO adminDAO;

	public List<Admin> findAll() {
		// TODO Auto-generated method stub
		return adminDAO.findAll();
	}

	@Override
	public void save(Admin object) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(Admin object) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(Admin object) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(Integer id) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(String ids) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Admin findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Admin> findAll(Pager_utils pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Admin> findAll(Admin object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Admin> findAll(Admin object, Pager_utils pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount(Admin object) {
		// TODO Auto-generated method stub
		return 0;
	} 
}
